package school.mapper;

import org.apache.ibatis.annotations.Param;
import school.domain.Route;

import java.util.List;

public interface RouteMapper {

    void insert(Route route);

    List<Route> selectList(Route route);

    void delById(Integer id);

    Route selectById(Integer id);


    void insertOrder(@Param("userid") Integer userid,@Param("routeid") Integer routeid);

    Integer selectOrder(@Param("userid") Integer userid,@Param("routeid") Integer routeid);

    void update(Route route);
}
